<?php
/**
 *@author Connor <caokang@foxmail.com>
 *@todo
 *@link www.zeevin.com
 */
class ProfileHook extends CActiveRecord{

	public static function model($className=__CLASS__){
		return parent::model($className);
	}

	public function tableName(){
		return 'space_profile_hook';
	}

	protected function beforeSave(){
		$this->uid=Yii::app()->user->id;
		return true;
	}


}